package com.itheima.edu.info.manager.dao;

import com.itheima.edu.info.manager.domain.Student;

/**
 * 学生数据操作类
 */
public interface BaseStudentDao {


    //实现添加学生操作
    boolean addStudent(Student student);

    Student[] findAllStudents();

    //查询学号所在的位置
    int getIndex(String deleteId);

    void updateStudent(String updateId, Student student);

    void deleteStudentByIndex(int index);

     void deleteStudent(String deleteId) ;
}
